On mips, 1**np.nan and np.nan**0 may be NaN not 1
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 1 Feb 2025 18:39:17 +0000 (18:39 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 1 Feb 2025 18:39:17 +0000 (18:39 +0000)
commit960351ce96f93df8729acf3e990b7e53dd54782b
treea7c3640ae139a0f3d6e6fe9881d043c7fcdff783
parent559abbddb16366262035aafdf8bdcec9bf550f3f
On mips, 1**np.nan and np.nan**0 may be NaN not 1

Done this way not a plain xfail to allow only this difference,
not clearly wrong answers

(The same hardware's "invalid value encountered" warnings,
probably from sNaN/qNaN being reversed, are ignored elsewhere:
d/rules and xfail_tests_nonintel_io.patch)

https://en.wikipedia.org/wiki/NaN#Encoding

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_pow_nan.patch
pandas/tests/arrays/floating/test_arithmetic.py
pandas/tests/arrays/sparse/test_arithmetics.py